/*
 * @Description: 用户信息
 * @Date: 2020-10-23 10:05:52
 * @LastEditTime: 2020-10-23 16:06:37
 */

const reducer = (state = {}, action) => {
    switch (action.type) {
        case 'userInfo': // 设置用户信息用户信息
            return { ...state, ...action.data }
        default:
            return state
    }
}

export default reducer
